﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000343 RID: 835
	public class TReturningClause : TParseTreeNode
	{
		// Token: 0x17000701 RID: 1793
		// (get) Token: 0x06002238 RID: 8760 RVA: 0x00334FBE File Offset: 0x003331BE
		// (set) Token: 0x06002237 RID: 8759 RVA: 0x00334FB5 File Offset: 0x003331B5
		public virtual bool BulkCollect
		{
			get
			{
				return this.bulkCollect;
			}
			set
			{
				this.bulkCollect = value;
			}
		}

		// Token: 0x06002239 RID: 8761 RVA: 0x00334FC6 File Offset: 0x003331C6
		public override void init(object arg1, object arg2)
		{
			this.columnValueList = (TExpressionList)arg1;
			this.variableList = (TExpressionList)arg2;
		}

		// Token: 0x0600223A RID: 8762 RVA: 0x00334FE0 File Offset: 0x003331E0
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			this.columnValueList.doParse(psql, plocation);
			if (this.variableList != null)
			{
				this.variableList.doParse(psql, plocation);
			}
		}

		// Token: 0x17000702 RID: 1794
		// (get) Token: 0x0600223B RID: 8763 RVA: 0x00335004 File Offset: 0x00333204
		// (set) Token: 0x0600223C RID: 8764 RVA: 0x0033500C File Offset: 0x0033320C
		public virtual TExpressionList ColumnValueList
		{
			get
			{
				return this.columnValueList;
			}
			set
			{
				this.columnValueList = value;
			}
		}

		// Token: 0x17000703 RID: 1795
		// (get) Token: 0x0600223D RID: 8765 RVA: 0x00335015 File Offset: 0x00333215
		// (set) Token: 0x0600223E RID: 8766 RVA: 0x0033501D File Offset: 0x0033321D
		public virtual TExpressionList VariableList
		{
			get
			{
				return this.variableList;
			}
			set
			{
				this.variableList = value;
			}
		}

		// Token: 0x0600223F RID: 8767 RVA: 0x00335026 File Offset: 0x00333226
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06002240 RID: 8768 RVA: 0x00335036 File Offset: 0x00333236
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001ADB RID: 6875
		private bool bulkCollect;

		// Token: 0x04001ADC RID: 6876
		private TExpressionList columnValueList;

		// Token: 0x04001ADD RID: 6877
		private TExpressionList variableList;
	}
}
